﻿namespace IDAL
{
    public interface IHotelDAL<T>
    {
        Task<int> AddHotelAsync(T t);
        Task<int>AddHotelRangeAsync(List<T> list);
        Task<int>UpdateHotelAsync(T t);
        Task<int> UpdateHotelRangeAsync(List<T> list);
        Task<int>DeleteHotelAsync (T t);
        Task<int> DeleteHotelRangeAsync (List<T> list);
        IQueryable<T> GetHotelALL();
    }
}
